<html>

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">

    <title>会员特权</title>

    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" href="js/jquery/jquery.mobile-1.4.5.min.css" />

    <link rel="stylesheet" href="css/total/index.css" />
    <link rel="stylesheet" href="css/total/button.css" />
</head>

<body>
    <div data-role="page" id="privilege">
        <div data-role="none">
            <div class="privilege_head">
            </div>
            <a data-role="none" href="member.html">
                <image data-role="none" src="img/arrow187.png" class="img-arrow" />
            </a>
            <div class="previlege-text">
                <p class="privilege-text-title">
                    青铜会员特权
                </p>
                <p class="privilege-text-content">
                    买票拥有<span class="privilege-num" id="qingtong"></span>折优惠！！！
                </p>
                <p class="privilege-text-title">
                    白银会员特权
                </p>
                <p class="privilege-text-content">
                    买票拥有<span class="privilege-num" id="baiyin"></span>折优惠！！！
                </p>
                <p class="privilege-text-title">
                    黄金会员特权
                </p>
                <p class="privilege-text-content">
                    买票拥有<span class="privilege-num" id="huangjin">7</span>折优惠！！！
                </p>
                <p class="privilege-text-title">
                    钻石会员特权
                </p>
                <p class="privilege-text-content">
                    买票拥有<span class="privilege-num" id="zuanshi">6</span>折优惠！！！
                </p>
            </div>
        </div>
    </div>
    <script src="js/jquery/jquery-1.12.0.min.js"></script>
    <script src="js/jquery/jquery.mobile-1.4.5.min.js"></script>

    <script>
        $(function() {
            $.post(
                "function/privilege.php", {

                },
                function(data) {
                    $('#qingtong').text(data.privilege1);
                    $('#baiyin').text(data.privilege2);
                    $('#huangjin').text(data.privilege3);
                    $('#zuanshi').text(data.privilege4);
                }, 'json'
            );
        });

    </script>


</body>

</html>
